OMAP3: beagle: Fix build warning in beagle.c
authorDirk Behme <[email protected]>
Thu, 22 Sep 2011 01:53:22 +0000 (01:53 +0000)
committerAlbert ARIBAUD <[email protected]>
Thu, 22 Sep 2011 21:02:08 +0000 (23:02 +0200)
Fix build warning

beagle.c:532: warning: initialization from incompatible pointer type

Signed-off-by: Dirk Behme <[email protected]>
CC: Jason Kridner <[email protected]>
CC: Koen Kooi <[email protected]>
CC: Joel A Fernandes <[email protected]>
Cc: Greg Turner <[email protected]>
CC: Sandeep Paulraj <[email protected]>
Acked-by: Jason Kridner <[email protected]>
board/ti/beagle/beagle.c

index 8cdceaf56993832b40dffbdea2cbb7c12215b52a..aa5047c669755eb60c78ebcf643d3fbc48493a19 100644 (file)
@@ -486,7 +486,7 @@ int ehci_hcd_init(void)
  * Returns -   1 if button is held down
  *             0 if button is not held down
  */
-int do_userbutton (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
+int do_userbutton(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {
        int     button = 0;
        int     gpio;